<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><?php echo $title_for_layout?></title>
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
	<?php echo $html->charset('UTF-8'); ?>
	<?php echo $html->css(array('grid','screen','ui-lightness/jquery-ui-1.8.1.custom','main')); ?>
	<?php echo $html->script(array('jquery','jquery-ui','scripts','cargando', 'test')); ?>
	<!--[if lt IE 8]>
		<?php echo $html->css('ie'); ?> 
	<![endif]-->
	<?php echo $scripts_for_layout ?>
</head>

<body>
<div id="cargando" class="ui-helper-hidden"><h2>Cargando<br/><?php echo $html->image('ajax-loader.gif', array('alt' => 'Cargando'))?></h2></div>
	<div class="container">
		<div id="header" class="span-24 prepend-top append-bottom">
			<header>
				<div id="logo" class="span-8">
					<a href="/"><?php echo $html->image('logo.png', array('alt' => 'NOVIGILA'))?>
<h1 class="hide">Novigila</h1></a>
				</div>
				<div class="span-16 last">
					<div id="nav">
         								<?php echo $this->element('nav'); ?>
                                        </div>
                                </div>
                        </header>
                </div>
                
                <div class="clearfix"></div>
                <!-- fin del header -->
                <div id="main" class="span-24">
                	
                	<!-- columna izquierda-->

                	<div id="coli" class="span-5">
                		<div id="menu">
                		<?php echo $this->element('menu'); ?>
                		</div>
				<!-- <div id="tooltip">Haga Click en el campo que desea ingresar para obtener mas ayuda</div> -->
                	</div>
                	<!-- columna derecha -->

                	<div id="cold" class="prepend-5 span-19 last">
                		<div id="content">
                		<?php echo $content_for_layout ?>
                		</div>
                	</div>
                </div>
                <!--fin del main-->
                <div class="clearfix"></div>
                <div id="footer"class="span-24">
                	<em>Novigila &copy; 2010</em>
                </div>
                <!--fin del footer-->
        </div>
        
</body>
</html>